package com.lpc.android.abc.base.api;

import com.lpc.android.abc.base.bean.HomeCampaign;
import com.lpc.android.abc.base.bean.Ware;

import java.util.List;
import java.util.Map;

import io.reactivex.Flowable;
import retrofit2.http.FieldMap;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

/**
 * Created by lipc0113 on 2017/6/16 0016.
 */

public interface ApiService {

    @GET("course_api/campaign/recommend")
    Flowable<List<HomeCampaign>> getHomeInfo();

    @GET("course_api/wares/campaign/list")
    Flowable<Ware> getWaresList(@QueryMap Map<String, String> map);
}
